package cn.j0n4than.api.entity;

import java.util.Date;

public class Auth {

    public static final String TYPE_ADMIN = "admin";
    public static final String TYPE_USER = "user";

    public int userId;
    public String ip;
    public Date expire;
    public String type;

    @Override
    public String toString() {
        return "Auth{" +
                "userId=" + userId +
                ", ip='" + ip + '\'' +
                ", expire=" + expire +
                '}';
    }
}
